.App {
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
  padding: 20px;
}

/* 测验设置样式 */
.quiz-setup {
  width: 100%;
  max-width: 600px;
}

.setup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.form-group label {
  font-size: 18px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* 按钮样式 */
.start-button,
.restart-button,
.navigation-buttons button {
  padding: 12px 24px;
  font-size: 18px;
  background-color: #61dafb;
  color: #282c34;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.start-button:hover:not(:disabled),
.restart-button:hover,
.navigation-buttons button:hover:not(:disabled) {
  background-color: #21a1f1;
}

.start-button:disabled,
.navigation-buttons button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* 测验容器样式 */
.quiz-container {
  width: 100%;
  max-width: 800px;
}

.question-counter {
  margin-bottom: 20px;
  font-size: 16px;
  opacity: 0.8;
}

.question-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.question-text {
  font-size: 22px;
  margin-bottom: 25px;
  line-height: 1.4;
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.option {
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
  font-size: 18px;
}

.option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.option.selected {
  background-color: rgba(97, 218, 251, 0.2);
  border-color: #61dafb;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* 结果页面样式 */
.quiz-results {
  text-align: center;
}

.score-display {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  margin: 30px 0;
}

.score-display p {
  margin: 10px 0;
  font-size: 24px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .App-header {
    padding: 10px;
  }
  
  .question-text {
    font-size: 18px;
  }
  
  .option {
    font-size: 16px;
    padding: 12px;
  }
  
  .navigation-buttons {
    flex-direction: column;
  }
}